$whiteColor: #fff;
$greyColor:#f9fafb;
$greenColor:#32d3a4;
$padding-10:10px;
$padding-20:20px;

html, body {
    font-family: 'Heletica Neue', 'PingFang SC','Hiragino Sans GB',
    'Microsoft YaHei','微软雅黑',Arial, Helvetica, sans-serif;
}

// 先删除默认内外边距
* {
    margin: 0;
    padding: 0;
}

body, input, button, a, textarea, select {
    margin: 0;
    font-family:  'Heletica Neue', 'PingFang SC','Hiragino Sans GB',
    'Microsoft YaHei','微软雅黑',Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #333;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: none;
}
a:hover {
    filter: alpha(opacity=90);
    opacity: .9;
}

// 文本对齐
.tc {
    text-align: center;
}

.tr {
    text-align: right;
}
.tl {
    text-align: left;
}
#app,
.content {
    color: #333;
    width: 100%;
    height: 100vh;
}
.module {
    display: flex;
    justify-content: space-between;
    height: 100%;
    .module-left {
        width: 200px;
        background: $greenColor;
        .module-menu {
            .title {
                margin:$padding-20 0;
            }
            .menus {
                &>a {
                    display: block;
                    padding: 0 $padding-20;
                }
            }
            .active {
                background: $greenColor;
                color: $whiteColor;
                border-radius: 5px;
            }
        }
    }
    .module-main {
        flex: 1;
        width: 100%;
        background: $whiteColor;
    }
}

// 轮播
.swiper {
    .swiper-slide {
        @media (min-width:1024px) {
            width: 25%;
        }
        @media (max-width:768px) {
            width: 50%;
        }
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }
    .banner-image {
        max-width: 100%;
        height: auto;
    }
}

// 播放器
.module-player {
    position: fixed;
    bottom: 0;
    width: 85%;
    display: flex;
    border-top: 2px solid $greenColor;
    padding: 10px;
    .flex-1 {
        flex: 1 1 0%;
    }
    .player-controller {
        justify-content: center;
        align-items: center;
        display: flex;
        column-gap: 0.75rem;
    }
}

